<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
  <title>语法高亮</title>
  <link rel="stylesheet" href="layout.css">
  <link rel="stylesheet" href="//at.alicdn.com/t/font_1124311_361f7ogq54.css">
  <link rel="icon" href="https://cdn.jsdelivr.net/gh/wangding/i@master/favicon.ico" sizes="48x48" type="image/png">
</head>
<body>
<div class="main">
  <textarea name="" cols="30" rows="5">var a = 'hello world!';</textarea><br>
  <input type="button" value="添加代码">
</div>  
<script src="//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="//apps.bdimg.com/libs/highlight.js/9.1.0/highlight.min.js"></script>
<script src="//apps.bdimg.com/libs/behave.js/1.5.0/behave.js"></script>
<script src="main.js"></script>
</body>
</html>
